import request from '@/utils/system/request'

export function getAll() {
  return request({
    url: '/auth/auth-list',
    method: 'get'
  })
}

// 编辑
export function update(data: object) {
  return request({
    url: '/auth/auth',
    method: 'put',
    data
  })
}
